module.exports = function(sequelize, DataTypes) {
  return sequelize.define('ClassifyFieldMap', {
    key: {
      type: DataTypes.STRING,
      field: 'key',
      primaryKey: true,
      allowNull: false
    },
    value: {
      type: DataTypes.STRING,
      field: 'value',
      allowNull: false
    },
    content: {
      type: DataTypes.STRING,
      allowNull: false
    }
  },
  {
    tableName: 'classify_field_map'
  })
}
